package com.threegroup.admin.service.impl;

import com.threegroup.admin.dao.SysUserDao;
import com.threegroup.admin.entity.SysUserEntity;
import com.threegroup.admin.service.IAdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * admin Service 实现类
 */
@Service
public class AdminServiceImpl implements IAdminService {

    @Resource
    private SysUserDao sysUserDao;

    public SysUserEntity selectUserByUsername(String userName) {

        SysUserEntity userEntity = sysUserDao.selectUserByUsername(userName);

        return userEntity;
    }

}
